package com.mywiki.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * describe:
 *
 * @author: robin
 * @date 2024/1/21 14:46
 */
@Data
public class EbookSaveReq {

    private Long id;

    @NotEmpty(message = "【名称】不能为空")
    private String name;

    private Long category1Id;

    private Long category2Id;

    private String description;

    private String cover;

    private Integer docCount;

    private Integer viewCount;

    private Integer voteCount;

}
